package com.by.web.mapper;

import com.by.web.entity.TResource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IMenuMapper {

    @Select(" SELECT * FROM t_resource tr ORDER BY tr.order_num ASC")
    @ResultType(TResource.class)
    public List<TResource> menus_list();

}
